< previous page page_599 next page >

Page 599
0599-01.jpg
Figure 27.2
The Data Source Administrator dialog box
allows you to configure ODBC data sources.
The ODBC Data Sources are divided into three types: user, system, and file. Although the purpose of all DSNs is essentially the sameto provide information about a specific data sourcethere are differences in where and when you can use each type:
A System DSN, more applicable in Windows NT than Windows 95/98, is not associated with a particular user profile. This means that after the DSN has been set up, all programs and services running on the machine can access it. For example, if you are using Internet Information Server to connect to a database, you will probably be setting up a System DSN for the database.
A File DSN stores DSN information in a text file. The text file is an INI file containing information about the database driver and location. It is not associated with a particular machine, so it can be on a network drive.
A User DSN is the type you will probably use most often. User DSN information is stored in the Registry of the local machine. In Windows NT, each user DSN is associated with a specific user profile and invisible outside of it.
The remaining three tabs in the ODBC Data Source Administrator dialog box are used for informational and debugging purposes. The ODBC Drivers tab, shown in Figure 27.3, displays a list of the ODBC drivers installed on your machine.
The last tab, the About tab, is very similar to the ODBC Drivers tab. It lists the versions and files used by ODBC itself. You might find these two screens helpful in determining whether or not your users have the correct drivers installed.
Before moving on, notice the Tracing tab, pictured in Figure 27.4. This tab allows you to trace each call made by the ODBC Manager to the ODBC Drivers. Remember that ODBC is a means to connect to various databases via some common API functions. The Tracing options allow you to view those API calls. This is something you probably won't do very often, but it is nice to know about.

 
< previous page page_599 next page >